package com.fightingFish.user.dao;

import com.fightingFish.user.bean.Anchor;
import com.fightingFish.user.bean.User;

import java.util.List;

public interface AttentionDao {
    /**
     * 方法概述：调用方法查询该用户关注的用户信息
     * @param userId
     * @return
     */
    List<User> getAttention(int userId);

    /**
     * 方法概述：修改关注
     * @param concernId
     * @param beConcernedId
     * @return
     */
    boolean cancelAttention(int concernId, int beConcernedId);


}
